-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(qns): implement v2 testcase #1570
Conversation
Add support for Quic Network Simulator `v2` testcase. In `v2` testcase, don't restrict the server to `Version::Version1`, thus allowing the server to upgrade incoming `Version::Version1` connection to compatible `Version::Version2` connection. See also [Quic Network Simulator `v2` testcase implementation]( https://github.com/quic-interop/quic-interop-runner/blob/ca27dcb5272a82d994337ae3d14533c318d81b76/testcases.py#L1460-L1545).
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1570 +/- ##
==========================================
- Coverage 87.60% 87.59% -0.02%
==========================================
Files 117 117
Lines 38335 38256 -79
==========================================
- Hits 33584 33510 -74
+ Misses 4751 4746 -5 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice to see some coverage for the v2 test!
neqo-client/src/main.rs
Outdated
@@ -1018,6 +1018,7 @@ fn main() -> Res<()> { | |||
args.use_old_http = true; | |||
args.key_update = true; | |||
} | |||
"v2" => {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The v2 test also runs on HTTP/0.9. Do you need to set use_old_http
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, exactly right. Thank you @marten-seemann. See 61ed61e.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exciting!
neqo-server/src/main.rs
Outdated
@@ -868,6 +870,7 @@ fn main() -> Result<(), io::Error> { | |||
args.alpn = String::from(HQ_INTEROP); | |||
args.retry = true; | |||
} | |||
"v2" => (), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here?
Add support for Quic Network Simulator
v2
testcase.In
v2
testcase, don't restrict the server toVersion::Version1
, thus allowing the server to upgrade incomingVersion::Version1
connection to compatibleVersion::Version2
connection.See also Quic Network Simulator
v2
testcase implementation.//CC @marten-seemann
Follow-up to #1563.
Related to quic-interop/quic-interop-runner#344 and #1552.